<?php

namespace app\common\model;

use think\Model;

class ZcjyImg extends Model
{
    public static function getImgsByPid($pid, $status = 1, $isdelete = 0)
    {
        return self::where('status', $status)
            ->where('isdelete', $isdelete)
            ->where('pid', $pid)
            ->select();
    }
}
